export const titles = {
	id: '编号',// id
	unityId: '单位id',// unityId
	unityName: '单位名称',// unityName
	nickname: '姓名',// nickname
	userIds: '授权用户',// userIds
	userId: '用户id',// userId
	phone: '电话',// phone
	userUnityName: '用户所属单位',// userUnityName
	unityIds: '授权单位',// unityIds
	roleIds: '用户角色',// roleIds
	roles: '授权角色',// roles
	action: '操作',
}
export const prompt = {
	id: '请输入' + titles.id,
	unityId: '请输入' + titles.unityId,
	unityName: '请输入' + titles.unityName,
	nickname: '请输入' + titles.nickname,
	userId: '请输入' + titles.userId,
	userIds: '请选择' + titles.userIds,
	phone: '请输入' + titles.phone,
	userUnityName: '请输入' + titles.userUnityName,
	unityIds: '请选择' + titles.unityIds,
	roleIds: '请选择' + titles.roleIds,
	roles: '请输入' + titles.roles,
}
export const defaultSearchForm = () => {
	return {
		nickname: '',// unityName
		unityName: '',// nickname
		phone: '',// phone
		page: 1,
		limit: 10,
	}
}
export const defaultInfoForm = () => {
	return {
		id: null,// id
		unityId: null,// unityId
		unityName: null,// unityName
		nickname: null,// nickname
		userId: null,// userId
		phone: null,// phone
		userUnityName: null,// userUnityName
		roleIds: null,// roleIds
		roles: null,// roles
	}
}
